package com.jic.market.enums;

/**
 * 抽奖常量类
 *
 */
public class LotteryConstant {
	
	public static final Integer DEFAULT_PAGENO = 1;
	
	public static final Integer DEFAULT_PAGESIZE = 10;
	
	/**抽奖活动类型CODE*/
	public static final Integer LOTTERY_TYPE_CODE = 4;
	
	/**默认活动页展示中奖记录条数*/
	public static final Integer QUERY_DRAW_RECORD_NUM = 50;
	
	public static final Integer QUERY_DRAW_RECORD_NUM_START = 0;
	
	/** 抽奖结果  0 未中奖 1 中奖*/
	public static final Integer LOTTERY_DRAW_RESULT_NOT_WINNING = 0;
	public static final Integer LOTTERY_DRAW_RESULT_WINNING = 1;

	public static final Integer TRUE_INT = 1;
	
	public static final Integer FALSE_INT = 0;
	
	/**抽奖活动类型 1 引流抽奖*/
	public static final Integer LOTTERY_TYPE_WITH_POINTS = 1;
	/**抽奖活动类型 2 交易抽奖*/
	public static final Integer LOTTERY_TYPE_WITH_ORDER = 2;
	/**活动未开始*/
	public static final Integer THEME_STATUS_NOT_STARTED = 1;
	/**进行中*/
	public static final Integer THEME_STATUS_IN_PROGRESS = 2;
	/**已结束*/
	public static final Integer THEME_STATUS_ENDED = 3;
	
	/** 抽奖活动状态：进行中（对应数据库状态） */
	public static final Integer THEME_STATUS_IN_PROGRESS_DB = 4;
	/** 抽奖活动是否删除：未删除 */
	public static final Integer THEME_IS_DELETED = 0;

	/**限制类型 0 无限制 1 总数限制 2 按天限制 3 免费抽奖次数限制 4 奖品数量限制*/
	public static final Integer LOTTERY_LIMIT_TYPE_NO_LIMIT = 0;
	public static final Integer LOTTERY_LIMIT_TYPE_BY_NUM = 1;
	public static final Integer LOTTERY_LIMIT_TYPE_BY_DAY = 2;
	public static final Integer LOTTERY_LIMIT_TYPE_FREE_TIMES = 3;
	public static final Integer LOTTERY_LIMIT_TYPE_AWARDS_LIMIT = 4;

	/** 奖品记录状态 0 未领取，1 已领取，2 已失效 */
	public static final Integer DRAW_RECORD_STATUS_UNRECEIVED = 0;
	public static final Integer DRAW_RECORD_STATUS_ALREADY_RECEIVED = 1;
	public static final Integer DRAW_RECORD_STATUS_ALREADY_EXPIRED = 2;
	
	/** 订单抽奖节点:创建订单 */
	public static final Integer LOTTERY_ORDER_DRAW_MODAL_CREATE = 1;
	/** 订单抽奖节点:支付完成 */
    public static final Integer LOTTERY_ORDER_DRAW_MODAL_PAID = 2;
    
    
    /**奖品类型：谢谢参与*/
	public static final Integer AWARDS_CATEGORY_THANKS = 1;
	/**奖品类型：商品*/
	public static final Integer AWARDS_CATEGORY_PRODUCT = 2;
	/**奖品类型：优惠券*/
	public static final Integer AWARDS_CATEGORY_COUPON = 3;
	/**奖品类型：积分*/
	public static final Integer AWARDS_CATEGORY_POINT = 4;
	/**奖品类型：线下商品*/
	public static final Integer AWARDS_CATEGORY_OFFLINE_PRODUCT = 4;
	/**增加免费抽奖次数消息节点 2：注册 1：签到 3：关注公众号*/
	public static final Integer SEND_TIMING_REGISTER = 2;
	public static final Integer SEND_TIMING_SIGN = 1;
	public static final Integer SEND_TIMING_FOCUS = 3;
	/** mktlog记录是否删除：未删除 */
	public static final Integer MKTLOGRECORDS_IS_DELETED = 0;
	/** 行为抽奖每次增加的次数：1 */
	public static final Integer TIMES_LOTTERY_BEHAVIOR_ADD = 1;
	// 订单抽奖类型 1：单笔满。。。元  2：每消费满。。。元  3：累计消费满。。。元(仅交易抽奖)
	public static final Integer LOTTERY_ORDER_DRAW_TYPE_SINGLE_MONEY = 1;
	public static final Integer LOTTERY_ORDER_DRAW_TYPE_PER_MONEY = 2;
	public static final Integer LOTTERY_ORDER_DRAW_TYPE_TOTAL_MONEY = 3;

	/** 订单支付状态 */
	public static final int ORDER_PAYMENT_STATUS_1 = 1;
	public static final int ORDER_PAYMENT_STATUS_2 = 2;
	public static final int ORDER_PAYMENT_STATUS_3 = 3;

}
